home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.8 KB | 101 lines | [TEXT/MPS ] |
- /*
- File: CoachMarks.idl
-
- Contains: Public CoachMark programming interface.
-
- Version: Technology: Copland
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __COACHMARKS_IDL__
- #define __COACHMARKS_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __SOUND_IDL__
- #include <Sound.idl>
- #endif
- #ifndef __WINDOWS_IDL__
- #include <Windows.idl>
- #endif
- #ifndef __HIWINDOWTYPES_IDL__
- #include <HIWindowTypes.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM8_COOPERATIVE
- /*
- Macros ——————————————————————————————————————————————————————————————————————————————————————————————————
- For X's, 2-bit groups specify the curvature of each leg
- */
- /*
- Attributes —————————————————————————————————————————————————————————————————————————————————————————————
- animation speeds
- */
- /* sloppiness*/
- /* translucency*/
- /* stroke width*/
- /* Selectors ———————————————————————————————————————————————————————————————————————————————————————————————*/
- typedef UInt32 CoachMarkType;
-
- typedef UInt32 CoachMarkCurvature;
-
- /*
- Flags ———————————————————————————————————————————————————————————————————————————————————————————————————
- theme element inheritance flags -- is "heritage" and "inherit" too wordy? Could use a scheme based on the word "trait"
- */
- typedef UInt32 CoachThemeOverrideFlags;
-
- typedef UInt32 CoachAnimationType;
-
- /*
- In which direction should the animation go? For an arrow or underline
- this is inherent in the geometry. For the others, some bit flags:
- */
- typedef UInt32 CoachDirection;
-
- /* to specify how to erase a coach mark*/
- typedef UInt32 CoachMarkEraseOptions;
-
- /*
- Structures —————————————————————————————————————————————————————————————————————————————————————————
- opaque reference to a coach mark
- */
- typedef OpaquePtr CoachMarkRef;
-
- /* CoachMarkRec specifies the appearance of a CoachMark*/
- typedef SOMLargeStruct CoachMarkRec; /* Derived from a struct of 30 bytes in size */
-
- /* CoachMarkAnimation specifies the appearance of a coach mark's animation*/
- typedef SOMLargeStruct CoachMarkAnimation; /* Derived from a struct of 12 bytes in size */
-
- /*
- The Freaky Good Stuff ———————————————————————————————————————————————————————————————————————————————
- Creation/destruction
- */
- /* To specify geometry*/
- /* Accessors*/
- /*
- Drawing, animation, erasing
- CoachMarkInteraction is synchronous and applies globallly, the other three are not and require windows
- */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __COACHMARKS_IDL__ */
-
-